﻿var CommonSearch_CommonJs = {
    //设置options选中,obj:js对象
    SelectedObj: function (obj, v) {
        $ops = $(obj).find("option");
        $ops.removeAttr("selected");
        $ops.each(function () {
            if ($(this).attr("value") == v) {
                $(this).attr({ "selected": "selected" });
                return false;
            }
        });
    }
};